package com.xbao.enums;

/**
 * Created by qingshengzheng on 2018/12/20.
 */
public enum FileTypeEnum implements CodeEnum {
    IMG("1", "jpg"),
    VIDEO("2", "");

    @Override
    public String getCode() {
        return code;
    }

    public String getSuffix() {
        return suffix;
    }


    private FileTypeEnum(String code, String suffix) {
        this.code = code;
        this.suffix = suffix;
    }

    public String code;
    public String suffix;
}
